<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>register page</title>
</head>
<body>

<form method="post" action="/servlet/RegisterServlet">

    username:<input type="text" name="name">
    password:<input type="password" name="password">
    <input type="submit" value="submit">
</form>
</body>
</html>